package com.hansi.site

class HomeController {

    def index = { }
	def aboutUs = { }
	def productions = { }
	def partners = { }
	def consulting = { }
	def contactUs = {
		def cs = Comment.list()
		cs.each {
			println it
		}
	}
	
	def saveComment = {
		def comment = new Comment(params)
		comment.createDay = new Date()
		comment.save(flush:true)
		redirect(action:contactUs)
	}
}
